import Axios from '../utils/request'

// 验证码请求封装
function getCodeApi (data) {
  return Axios.post('/au/code', {
    mobile: data
  })
}

// 用户登录封装
function postUserCode (data) {
  return Axios.post('/au/login', data)
}

export { getCodeApi, postUserCode }
